package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 运踪对象 t_waybill_tracke
 * 
 * @author ruoyi
 * @date 2025-03-22
 */
public class TWaybillTracke extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNumber;

    /** 运踪状态大类 */
    @Excel(name = "运踪状态大类")
    private String tracingCateg;

    /** 运踪状态小类 */
    @Excel(name = "运踪状态小类")
    private String tracingSubCateg;

    /** 轨迹内容 */
    @Excel(name = "轨迹内容")
    private String trajectoryContent;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceNumber;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 城市代码 */
    @Excel(name = "城市代码")
    private String cityCode;

    /** 城市名称 */
    @Excel(name = "城市名称")
    private String cityName;

    /** 采集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date captureTime;

    /** 操作用户Id */
    @Excel(name = "操作用户Id")
    private Long userId;

    /** 操作用户名称 */
    @Excel(name = "操作用户名称")
    private String userName;

    /** 定位数据id */
    @Excel(name = "定位数据id")
    private Long locationId;

    /** 数据类型 1 定位数据 2 转写运单 3 手动录入运单 */
    @Excel(name = "数据类型 1 定位数据 2 转写运单 3 手动录入运单")
    private String type;

    /** 天气 */
    @Excel(name = "天气")
    private String weather;

    /** 距离目的地距离 */
    @Excel(name = "距离目的地距离")
    private String destDistance;

    /** 速度 */
    @Excel(name = "速度")
    private String speed;

    /** 上报间隔 */
    @Excel(name = "上报间隔")
    private String reportInterval;

    /** 电量 */
    @Excel(name = "电量")
    private String battery;

    /** 定位方式 1 精确定位 2 辅助定位 */
    @Excel(name = "定位方式 1 精确定位 2 辅助定位")
    private String locateWay;

    /** 温度 */
    @Excel(name = "温度")
    private String temperature;

    /** 是否运动 */
    @Excel(name = "是否运动")
    private String isMove;

    /** 上报日期 */
    //@JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上报日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String reportDay;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }

    public void setTracingCateg(String tracingCateg) 
    {
        this.tracingCateg = tracingCateg;
    }

    public String getTracingCateg() 
    {
        return tracingCateg;
    }

    public void setTracingSubCateg(String tracingSubCateg) 
    {
        this.tracingSubCateg = tracingSubCateg;
    }

    public String getTracingSubCateg() 
    {
        return tracingSubCateg;
    }

    public void setTrajectoryContent(String trajectoryContent) 
    {
        this.trajectoryContent = trajectoryContent;
    }

    public String getTrajectoryContent() 
    {
        return trajectoryContent;
    }

    public void setDeviceNumber(String deviceNumber) 
    {
        this.deviceNumber = deviceNumber;
    }

    public String getDeviceNumber() 
    {
        return deviceNumber;
    }

    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }

    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }

    public void setCityCode(String cityCode) 
    {
        this.cityCode = cityCode;
    }

    public String getCityCode() 
    {
        return cityCode;
    }

    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }

    public void setCaptureTime(Date captureTime) 
    {
        this.captureTime = captureTime;
    }

    public Date getCaptureTime() 
    {
        return captureTime;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setLocationId(Long locationId) 
    {
        this.locationId = locationId;
    }

    public Long getLocationId() 
    {
        return locationId;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setWeather(String weather) 
    {
        this.weather = weather;
    }

    public String getWeather() 
    {
        return weather;
    }

    public void setDestDistance(String destDistance) 
    {
        this.destDistance = destDistance;
    }

    public String getDestDistance() 
    {
        return destDistance;
    }

    public void setSpeed(String speed) 
    {
        this.speed = speed;
    }

    public String getSpeed() 
    {
        return speed;
    }

    public void setReportInterval(String reportInterval) 
    {
        this.reportInterval = reportInterval;
    }

    public String getReportInterval() 
    {
        return reportInterval;
    }

    public void setBattery(String battery) 
    {
        this.battery = battery;
    }

    public String getBattery() 
    {
        return battery;
    }

    public void setLocateWay(String locateWay) 
    {
        this.locateWay = locateWay;
    }

    public String getLocateWay() 
    {
        return locateWay;
    }

    public void setTemperature(String temperature) 
    {
        this.temperature = temperature;
    }

    public String getTemperature() 
    {
        return temperature;
    }

    public void setIsMove(String isMove) 
    {
        this.isMove = isMove;
    }

    public String getIsMove() 
    {
        return isMove;
    }

    public void setReportDay(String reportDay)
    {
        this.reportDay = reportDay;
    }

    public String getReportDay()
    {
        return reportDay;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNumber", getOrderNumber())
            .append("tracingCateg", getTracingCateg())
            .append("tracingSubCateg", getTracingSubCateg())
            .append("trajectoryContent", getTrajectoryContent())
            .append("deviceNumber", getDeviceNumber())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("cityCode", getCityCode())
            .append("cityName", getCityName())
            .append("captureTime", getCaptureTime())
            .append("createTime", getCreateTime())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("locationId", getLocationId())
            .append("type", getType())
            .append("weather", getWeather())
            .append("destDistance", getDestDistance())
            .append("speed", getSpeed())
            .append("reportInterval", getReportInterval())
            .append("battery", getBattery())
            .append("locateWay", getLocateWay())
            .append("temperature", getTemperature())
            .append("isMove", getIsMove())
            .append("reportDay", getReportDay())
            .toString();
    }
}
